package com.lzgcoding.onlineshopapp.util

import android.icu.text.NumberFormat

fun Double.formatCurrency(): String {
    val currencyInstance = NumberFormat.getCurrencyInstance()
    return currencyInstance.format(this)
}